mac: Try all different OpenGL profiles
authorBenjamin Otte <otte@redhat.com>
Tue, 25 Apr 2023 20:16:27 +0000 (22:16 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 27 Apr 2023 00:13:32 +0000 (02:13 +0200)
commitd33b82249befb596c8adfba81202d5f8552c8939
treeeb498fe6d4110af85139c20e7c73da1cc2758662
parent5f833f1d31c7a1699a997d73c1c5be6e2ad5b08d
mac: Try all different OpenGL profiles

.. and pick the best one that is supported.

Also make sure that the resulting context has at least the desired
version, otherwise bail.
gdk/macos/gdkmacosglcontext.c